<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改医废出库记录')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-outstorerecord-edit" th:object="${yfOutstoreRecord}">
            <input name="codeid" th:field="*{codeid}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">医废条码：</label>
                <div class="col-sm-8">
                    <input name="codeid" th:field="*{codeid}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">医院：</label>
                <div class="col-sm-8">
                    <input name="hospitalId" th:field="*{hospitalId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">医废暂存处：</label>
                <div class="col-sm-8">
                    <input name="stagingId" th:field="*{stagingId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">出库医废袋数：</label>
                <div class="col-sm-8">
                    <input name="outBag" th:field="*{outBag}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label is-required">出库医废重量：</label>
                <div class="col-sm-8">
                    <input name="outWeight" th:field="*{outWeight}" class="form-control" type="text" required>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">创建者id：</label>
                <div class="col-sm-8">
                    <input name="createId" th:field="*{createId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">更新者id：</label>
                <div class="col-sm-8">
                    <input name="updateId" th:field="*{updateId}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script type="text/javascript">
        var prefix = ctx + "yf/outstorerecord";
        $("#form-outstorerecord-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-outstorerecord-edit').serialize());
            }
        }
    </script>
</body>
</html>